# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'chatItemWidget.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *

from  . import resource_rc

class Ui_widget(object):
    def setupUi(self, widget):
        if not widget.objectName():
            widget.setObjectName(u"widget")
        widget.resize(247, 78)
        widget.setStyleSheet(u"QWidget {\n"
"    background-color: #E3E4E5;\n"
"}\n"
"QWidget :hover {background-color:#D6D6D7}\n"
"\n"
"QLabel {\n"
"    background-color: none;\n"
"}\n"
"")
        self.gridLayout = QGridLayout(widget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.horizontalLayout_9 = QHBoxLayout()
        self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
        self.image = QLabel(widget)
        self.image.setObjectName(u"image")
        sizePolicy = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.image.sizePolicy().hasHeightForWidth())
        self.image.setSizePolicy(sizePolicy)
        self.image.setMinimumSize(QSize(40, 40))
        self.image.setMaximumSize(QSize(36, 36))
        self.image.setStyleSheet(u"image: url(:/images/img/chatgpt-logo.jpg);")
        self.image.setMargin(8)

        self.horizontalLayout_9.addWidget(self.image)

        self.verticalLayout_7 = QVBoxLayout()
        self.verticalLayout_7.setObjectName(u"verticalLayout_7")
        self.horizontalLayout_10 = QHBoxLayout()
        self.horizontalLayout_10.setObjectName(u"horizontalLayout_10")
        self.name = QLabel(widget)
        self.name.setObjectName(u"name")
        font = QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.name.setFont(font)
        self.name.setMargin(0)

        self.horizontalLayout_10.addWidget(self.name)

        self.time = QLabel(widget)
        self.time.setObjectName(u"time")
        sizePolicy1 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Preferred)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.time.sizePolicy().hasHeightForWidth())
        self.time.setSizePolicy(sizePolicy1)
        self.time.setMinimumSize(QSize(25, 0))
        self.time.setStyleSheet(u"QLabel {\n"
"    color: #999999;\n"
"}\n"
"")

        self.horizontalLayout_10.addWidget(self.time)


        self.verticalLayout_7.addLayout(self.horizontalLayout_10)

        self.history = QLabel(widget)
        self.history.setObjectName(u"history")
        self.history.setStyleSheet(u"QLabel {\n"
"    color: #999999;\n"
"}\n"
"")

        self.verticalLayout_7.addWidget(self.history)


        self.horizontalLayout_9.addLayout(self.verticalLayout_7)


        self.gridLayout.addLayout(self.horizontalLayout_9, 0, 0, 1, 1)


        self.retranslateUi(widget)

        QMetaObject.connectSlotsByName(widget)
    # setupUi

    def retranslateUi(self, widget):
        widget.setWindowTitle(QCoreApplication.translate("widget", u"Form", None))
        self.image.setText("")
        self.name.setText(QCoreApplication.translate("widget", u"ChatGPT3.5", None))
        self.time.setText(QCoreApplication.translate("widget", u"16:00", None))
        self.history.setText(QCoreApplication.translate("widget", u"\u804a\u5929\u8bb0\u5f55\u9884\u89c8", None))
    # retranslateUi

